WC_Asaas\Webhook\Webhook S

Total Complexity 43
Dependencies 7
Dependents 1
Total lines 315
Lines of code 152
Logical lines of code 97
Comment lines 83
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
process_event()
A
50 9 30
update_order_values_on_credit_card()
S
55 6 21
process_payment()
S
61 4 11
should_process_payment_on_payment_received()
S
70 2 6
calculate_item_fee_value()
S
70 2 6
on_payment_confirmed()
S
71 2 6
should_process_payment_on_payment_confirmed()
S
70 2 6
set_order_discount()
S
67 2 8
on_payment_received()
S
71 2 6
calculate_item_total()
S
67 2 8
on_payment_updated()
S
73 1 5
on_payment_restored()
S
76 1 4
on_payment_refunded()
S
76 1 4
__construct()
S
67 1 7
add_item_fee_to_order()
S
71 1 6
__get()
S
81 1 3
on_payment_overdue()
S
75 1 4
on_payment_deleted()
S
75 1 4
on_payment_created()
S
75 1 4
add_order_note()
S
79 1 3